<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenIG: OpenIG::Base::Animations Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="openig_logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenIG
   &#160;<span id="projectnumber">2.0.7</span>
   </div>
   <div id="projectbrief">cross-platform open-source OpenSceneGraph Image Generator</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>OpenIG</b></li><li class="navelem"><b>Base</b></li><li class="navelem"><a class="el" href="class_open_i_g_1_1_base_1_1_animations.html">Animations</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-types">Protected Types</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_open_i_g_1_1_base_1_1_animations-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">OpenIG::Base::Animations Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="class_open_i_g_1_1_base_1_1_animations.html" title="The Animations class. ">Animations</a> class.  
 <a href="class_open_i_g_1_1_base_1_1_animations.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_animation_8h_source.html">Animation.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_open_i_g_1_1_base_1_1_animations_1_1_animation.html">Animation</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_open_i_g_1_1_base_1_1_animations_1_1_animation.html" title="The Animation struct. ">Animation</a> struct.  <a href="struct_open_i_g_1_1_base_1_1_animations_1_1_animation.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_open_i_g_1_1_base_1_1_animations_1_1_animation_container.html">AnimationContainer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Referenced pointer of std::vector of <a class="el" href="struct_open_i_g_1_1_base_1_1_animations_1_1_animation.html">Animation</a>.  <a href="struct_open_i_g_1_1_base_1_1_animations_1_1_animation_container.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_open_i_g_1_1_base_1_1_animations_1_1_runtime_animation.html">RuntimeAnimation</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_open_i_g_1_1_base_1_1_animations_1_1_runtime_animation.html" title="The RuntimeAnimation struct. ">RuntimeAnimation</a> struct.  <a href="struct_open_i_g_1_1_base_1_1_animations_1_1_runtime_animation.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab250a5332a67f8b027ad685c84ac76d3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_i_g_1_1_base_1_1_animations.html#ab250a5332a67f8b027ad685c84ac76d3">playAnimation</a> (<a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> *ig, unsigned int entityId, const std::string &amp;name, <a class="el" href="class_open_i_g_1_1_base_1_1_ref_animation_sequence_callbacks.html">RefAnimationSequenceCallbacks</a> *cbs=0)</td></tr>
<tr class="memdesc:ab250a5332a67f8b027ad685c84ac76d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Plays simple animations. See <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#ab69a47ac1c5f34eccbe881ae553c73d9">OpenIG::Base::ImageGenerator::playAnimation</a>.  <a href="#ab250a5332a67f8b027ad685c84ac76d3">More...</a><br /></td></tr>
<tr class="separator:ab250a5332a67f8b027ad685c84ac76d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53d98d36bc8961f525e05e3020d0cebc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_i_g_1_1_base_1_1_animations.html#a53d98d36bc8961f525e05e3020d0cebc">stopAnimation</a> (<a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> *ig, unsigned int entityId, const std::string &amp;name)</td></tr>
<tr class="memdesc:a53d98d36bc8961f525e05e3020d0cebc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stops simple animations. See <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#adcf6e335a20cd7540b572ce980cbc02f">OpenIG::Base::ImageGenerator::stopAnimation</a>.  <a href="#a53d98d36bc8961f525e05e3020d0cebc">More...</a><br /></td></tr>
<tr class="separator:a53d98d36bc8961f525e05e3020d0cebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2cbda5244b4e76df8e7702477059df9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_i_g_1_1_base_1_1_animations.html#ad2cbda5244b4e76df8e7702477059df9">resetAnimation</a> (<a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> *ig, unsigned int entityId, const std::string &amp;name)</td></tr>
<tr class="memdesc:ad2cbda5244b4e76df8e7702477059df9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Plays simple animations. See <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#a5bbb2102a87969f02ce833839bb61666">OpenIG::Base::ImageGenerator::resetAnimation</a>.  <a href="#ad2cbda5244b4e76df8e7702477059df9">More...</a><br /></td></tr>
<tr class="separator:ad2cbda5244b4e76df8e7702477059df9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f7ebdecbaa4094718e960f782d67775"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_i_g_1_1_base_1_1_animations.html#a1f7ebdecbaa4094718e960f782d67775">pauseResumeAnimation</a> (<a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> *ig, unsigned int entityId, const std::string &amp;name, bool pauseResume=true)</td></tr>
<tr class="memdesc:a1f7ebdecbaa4094718e960f782d67775"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pause/Resume anmation.  <a href="#a1f7ebdecbaa4094718e960f782d67775">More...</a><br /></td></tr>
<tr class="separator:a1f7ebdecbaa4094718e960f782d67775"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fd21d3135443a015f8e347fe2c9df91"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_i_g_1_1_base_1_1_animations.html#a8fd21d3135443a015f8e347fe2c9df91">updateAnimations</a> (<a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> *ig)</td></tr>
<tr class="memdesc:a8fd21d3135443a015f8e347fe2c9df91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the animation, should be called in a loop.  <a href="#a8fd21d3135443a015f8e347fe2c9df91">More...</a><br /></td></tr>
<tr class="separator:a8fd21d3135443a015f8e347fe2c9df91"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:af5df53ebef156079a165cf965aac5a9e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_open_i_g_1_1_base_1_1_animations.html">Animations</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_i_g_1_1_base_1_1_animations.html#af5df53ebef156079a165cf965aac5a9e">instance</a> ()</td></tr>
<tr class="memdesc:af5df53ebef156079a165cf965aac5a9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The singleton.  <a href="#af5df53ebef156079a165cf965aac5a9e">More...</a><br /></td></tr>
<tr class="separator:af5df53ebef156079a165cf965aac5a9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-types"></a>
Protected Types</h2></td></tr>
<tr class="memitem:a59b29fbcfba5f4acfc9bc8e10fc44116"><td class="memItemLeft" align="right" valign="top"><a id="a59b29fbcfba5f4acfc9bc8e10fc44116"></a>
typedef std::vector&lt; osg::ref_ptr&lt; <a class="el" href="struct_open_i_g_1_1_base_1_1_animations_1_1_runtime_animation.html">RuntimeAnimation</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>RuntimeAnimations</b></td></tr>
<tr class="separator:a59b29fbcfba5f4acfc9bc8e10fc44116"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a404253708e41328643ee98d3edf86dc6"><td class="memItemLeft" align="right" valign="top"><a id="a404253708e41328643ee98d3edf86dc6"></a>
typedef std::vector&lt; osg::ref_ptr&lt; <a class="el" href="struct_open_i_g_1_1_base_1_1_animations_1_1_runtime_animation.html">RuntimeAnimation</a> &gt; &gt;::iterator&#160;</td><td class="memItemRight" valign="bottom"><b>RuntimeAnimationsIterator</b></td></tr>
<tr class="separator:a404253708e41328643ee98d3edf86dc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f9bcfb699d9e3249bd550de7d4289d5"><td class="memItemLeft" align="right" valign="top"><a id="a7f9bcfb699d9e3249bd550de7d4289d5"></a>
typedef std::vector&lt; osg::ref_ptr&lt; <a class="el" href="struct_open_i_g_1_1_base_1_1_animations_1_1_runtime_animation.html">RuntimeAnimation</a> &gt; &gt;::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>RuntimeAnimationsConstIterator</b></td></tr>
<tr class="separator:a7f9bcfb699d9e3249bd550de7d4289d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a29a5af5c88ac03493c3b0850a6cf1995"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_i_g_1_1_base_1_1_animations.html#a29a5af5c88ac03493c3b0850a6cf1995">Animations</a> ()</td></tr>
<tr class="memdesc:a29a5af5c88ac03493c3b0850a6cf1995"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_open_i_g_1_1_base_1_1_animations.html" title="The Animations class. ">Animations</a> constructor.  <a href="#a29a5af5c88ac03493c3b0850a6cf1995">More...</a><br /></td></tr>
<tr class="separator:a29a5af5c88ac03493c3b0850a6cf1995"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a96ee49b2e162e7d1873297535c955e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_i_g_1_1_base_1_1_animations.html#a9a96ee49b2e162e7d1873297535c955e">~Animations</a> ()</td></tr>
<tr class="memdesc:a9a96ee49b2e162e7d1873297535c955e"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_open_i_g_1_1_base_1_1_animations.html" title="The Animations class. ">Animations</a> destructor.  <a href="#a9a96ee49b2e162e7d1873297535c955e">More...</a><br /></td></tr>
<tr class="separator:a9a96ee49b2e162e7d1873297535c955e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a897ee6c6b1af897192a4f3a9ddfe3909"><td class="memItemLeft" align="right" valign="top"><a id="a897ee6c6b1af897192a4f3a9ddfe3909"></a>
RuntimeAnimations&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_open_i_g_1_1_base_1_1_animations.html#a897ee6c6b1af897192a4f3a9ddfe3909">_animations</a></td></tr>
<tr class="memdesc:a897ee6c6b1af897192a4f3a9ddfe3909"><td class="mdescLeft">&#160;</td><td class="mdescRight">std::vector of <a class="el" href="struct_open_i_g_1_1_base_1_1_animations_1_1_runtime_animation.html">RuntimeAnimation</a> <br /></td></tr>
<tr class="separator:a897ee6c6b1af897192a4f3a9ddfe3909"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="class_open_i_g_1_1_base_1_1_animations.html" title="The Animations class. ">Animations</a> class. </p>
<p>This is the singleton class that is managing the core simple animations </p><dl class="section author"><dt>Author</dt><dd>Trajce Nikolov Nick <a href="#" onclick="location.href='mai'+'lto:'+'ope'+'ni'+'g@c'+'om'+'pro'+'.n'+'et'; return false;">openi<span style="display: none;">.nosp@m.</span>g@co<span style="display: none;">.nosp@m.</span>mpro.<span style="display: none;">.nosp@m.</span>net</a> </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>(c)Compro Computer Services, Inc. </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Sun Jan 11 2015 </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a29a5af5c88ac03493c3b0850a6cf1995"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29a5af5c88ac03493c3b0850a6cf1995">&#9670;&nbsp;</a></span>Animations()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">OpenIG::Base::Animations::Animations </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="class_open_i_g_1_1_base_1_1_animations.html" title="The Animations class. ">Animations</a> constructor. </p>
<p><a class="el" href="class_open_i_g_1_1_base_1_1_animations.html" title="The Animations class. ">Animations</a> constructor </p><dl class="section author"><dt>Author</dt><dd>Trajce Nikolov Nick <a href="#" onclick="location.href='mai'+'lto:'+'ope'+'ni'+'g@c'+'om'+'pro'+'.n'+'et'; return false;">openi<span style="display: none;">.nosp@m.</span>g@co<span style="display: none;">.nosp@m.</span>mpro.<span style="display: none;">.nosp@m.</span>net</a> </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>(c)Compro Computer Services, Inc. </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Sun Jan 11 2015 </dd></dl>

</div>
</div>
<a id="a9a96ee49b2e162e7d1873297535c955e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a96ee49b2e162e7d1873297535c955e">&#9670;&nbsp;</a></span>~Animations()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">OpenIG::Base::Animations::~Animations </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p><a class="el" href="class_open_i_g_1_1_base_1_1_animations.html" title="The Animations class. ">Animations</a> destructor. </p>
<p><a class="el" href="class_open_i_g_1_1_base_1_1_animations.html" title="The Animations class. ">Animations</a> destructor </p><dl class="section author"><dt>Author</dt><dd>Trajce Nikolov Nick <a href="#" onclick="location.href='mai'+'lto:'+'ope'+'ni'+'g@c'+'om'+'pro'+'.n'+'et'; return false;">openi<span style="display: none;">.nosp@m.</span>g@co<span style="display: none;">.nosp@m.</span>mpro.<span style="display: none;">.nosp@m.</span>net</a> </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>(c)Compro Computer Services, Inc. </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Sun Jan 11 2015 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af5df53ebef156079a165cf965aac5a9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5df53ebef156079a165cf965aac5a9e">&#9670;&nbsp;</a></span>instance()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_open_i_g_1_1_base_1_1_animations.html">Animations</a>* OpenIG::Base::Animations::instance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The singleton. </p>
<p>The singleton </p><dl class="section return"><dt>Returns</dt><dd>The singleton </dd></dl>
<dl class="section author"><dt>Author</dt><dd>Trajce Nikolov Nick <a href="#" onclick="location.href='mai'+'lto:'+'ope'+'ni'+'g@c'+'om'+'pro'+'.n'+'et'; return false;">openi<span style="display: none;">.nosp@m.</span>g@co<span style="display: none;">.nosp@m.</span>mpro.<span style="display: none;">.nosp@m.</span>net</a> </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>(c)Compro Computer Services, Inc. </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Sun Jan 11 2015 </dd></dl>

</div>
</div>
<a id="a1f7ebdecbaa4094718e960f782d67775"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f7ebdecbaa4094718e960f782d67775">&#9670;&nbsp;</a></span>pauseResumeAnimation()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpenIG::Base::Animations::pauseResumeAnimation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> *&#160;</td>
          <td class="paramname"><em>ig</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>entityId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>pauseResume</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pause/Resume anmation. </p>
<p>Pause/Resume animation </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ig</td><td>The <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> instance to call </td></tr>
    <tr><td class="paramname">entityId</td><td>The <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#a32c1e1a62540af3ba83afe4ab0340ad6">OpenIG::Base::ImageGenerator::Entity</a> to reset the animation on. See <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#a5bbb2102a87969f02ce833839bb61666">OpenIG::Base::ImageGenerator::resetAnimation</a> </td></tr>
    <tr><td class="paramname">name</td><td>The name of the animation </td></tr>
    <tr><td class="paramname">pauseResume</td><td>true to pause, false to resume </td></tr>
  </table>
  </dd>
</dl>
<dl class="section author"><dt>Author</dt><dd>Trajce Nikolov Nick <a href="#" onclick="location.href='mai'+'lto:'+'ope'+'ni'+'g@c'+'om'+'pro'+'.n'+'et'; return false;">openi<span style="display: none;">.nosp@m.</span>g@co<span style="display: none;">.nosp@m.</span>mpro.<span style="display: none;">.nosp@m.</span>net</a> </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>(c)Compro Computer Services, Inc. </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Tue May 16 2016 </dd></dl>

</div>
</div>
<a id="ab250a5332a67f8b027ad685c84ac76d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab250a5332a67f8b027ad685c84ac76d3">&#9670;&nbsp;</a></span>playAnimation()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpenIG::Base::Animations::playAnimation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> *&#160;</td>
          <td class="paramname"><em>ig</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>entityId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_open_i_g_1_1_base_1_1_ref_animation_sequence_callbacks.html">RefAnimationSequenceCallbacks</a> *&#160;</td>
          <td class="paramname"><em>cbs</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Plays simple animations. See <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#ab69a47ac1c5f34eccbe881ae553c73d9">OpenIG::Base::ImageGenerator::playAnimation</a>. </p>
<p>Plays simple animations. See <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#ab69a47ac1c5f34eccbe881ae553c73d9">OpenIG::Base::ImageGenerator::playAnimation</a> .It calls this method on the <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> . </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ig</td><td>The <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> instance to call it for playback </td></tr>
    <tr><td class="paramname">entityId</td><td>The <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#a32c1e1a62540af3ba83afe4ab0340ad6">OpenIG::Base::ImageGenerator::Entity</a> to play the animation on. See <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#ab69a47ac1c5f34eccbe881ae553c73d9">OpenIG::Base::ImageGenerator::playAnimation</a> </td></tr>
    <tr><td class="paramname">name</td><td>The name of the animation </td></tr>
    <tr><td class="paramname">cbs</td><td>Optional animation callbacks. See <a class="el" href="class_open_i_g_1_1_base_1_1_animation_sequence_playback_callback.html">OpenIG::Base::AnimationSequencePlaybackCallback</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section author"><dt>Author</dt><dd>Trajce Nikolov Nick <a href="#" onclick="location.href='mai'+'lto:'+'ope'+'ni'+'g@c'+'om'+'pro'+'.n'+'et'; return false;">openi<span style="display: none;">.nosp@m.</span>g@co<span style="display: none;">.nosp@m.</span>mpro.<span style="display: none;">.nosp@m.</span>net</a> </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>(c)Compro Computer Services, Inc. </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Sun Jan 11 2015 </dd></dl>

</div>
</div>
<a id="ad2cbda5244b4e76df8e7702477059df9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2cbda5244b4e76df8e7702477059df9">&#9670;&nbsp;</a></span>resetAnimation()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpenIG::Base::Animations::resetAnimation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> *&#160;</td>
          <td class="paramname"><em>ig</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>entityId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Plays simple animations. See <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#a5bbb2102a87969f02ce833839bb61666">OpenIG::Base::ImageGenerator::resetAnimation</a>. </p>
<p>Reset a simple animations. See <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#a5bbb2102a87969f02ce833839bb61666">OpenIG::Base::ImageGenerator::resetAnimation</a> .It calls this method on the <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> . </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ig</td><td>The <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> instance to call </td></tr>
    <tr><td class="paramname">entityId</td><td>The <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#a32c1e1a62540af3ba83afe4ab0340ad6">OpenIG::Base::ImageGenerator::Entity</a> to reset the animation on. See <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#a5bbb2102a87969f02ce833839bb61666">OpenIG::Base::ImageGenerator::resetAnimation</a> </td></tr>
    <tr><td class="paramname">name</td><td>The name of the animation </td></tr>
  </table>
  </dd>
</dl>
<dl class="section author"><dt>Author</dt><dd>Trajce Nikolov Nick <a href="#" onclick="location.href='mai'+'lto:'+'ope'+'ni'+'g@c'+'om'+'pro'+'.n'+'et'; return false;">openi<span style="display: none;">.nosp@m.</span>g@co<span style="display: none;">.nosp@m.</span>mpro.<span style="display: none;">.nosp@m.</span>net</a> </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>(c)Compro Computer Services, Inc. </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Mon May 18 2015 </dd></dl>

</div>
</div>
<a id="a53d98d36bc8961f525e05e3020d0cebc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53d98d36bc8961f525e05e3020d0cebc">&#9670;&nbsp;</a></span>stopAnimation()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpenIG::Base::Animations::stopAnimation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> *&#160;</td>
          <td class="paramname"><em>ig</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>entityId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stops simple animations. See <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#adcf6e335a20cd7540b572ce980cbc02f">OpenIG::Base::ImageGenerator::stopAnimation</a>. </p>
<p>Stops the playback of simple animations. See <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#adcf6e335a20cd7540b572ce980cbc02f">OpenIG::Base::ImageGenerator::stopAnimation</a> .It calls this method on the <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> . </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ig</td><td>The <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> instance to call </td></tr>
    <tr><td class="paramname">entityId</td><td>The <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#a32c1e1a62540af3ba83afe4ab0340ad6">OpenIG::Base::ImageGenerator::Entity</a> to stop the animation on. See <a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html#adcf6e335a20cd7540b572ce980cbc02f">OpenIG::Base::ImageGenerator::stopAnimation</a> </td></tr>
    <tr><td class="paramname">name</td><td>The name of the animation </td></tr>
  </table>
  </dd>
</dl>
<dl class="section author"><dt>Author</dt><dd>Trajce Nikolov Nick <a href="#" onclick="location.href='mai'+'lto:'+'ope'+'ni'+'g@c'+'om'+'pro'+'.n'+'et'; return false;">openi<span style="display: none;">.nosp@m.</span>g@co<span style="display: none;">.nosp@m.</span>mpro.<span style="display: none;">.nosp@m.</span>net</a> </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>(c)Compro Computer Services, Inc. </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Mon May 18 2015 </dd></dl>

</div>
</div>
<a id="a8fd21d3135443a015f8e347fe2c9df91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8fd21d3135443a015f8e347fe2c9df91">&#9670;&nbsp;</a></span>updateAnimations()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpenIG::Base::Animations::updateAnimations </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_open_i_g_1_1_base_1_1_image_generator.html">OpenIG::Base::ImageGenerator</a> *&#160;</td>
          <td class="paramname"><em>ig</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Updates the animation, should be called in a loop. </p>
<p>Updates the animation, should be called in a loop. There is a plugin available that calls this method in the igplugincore::Plugin::update call. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ig</td><td>The image generator instance </td></tr>
  </table>
  </dd>
</dl>
<dl class="section author"><dt>Author</dt><dd>Trajce Nikolov Nick <a href="#" onclick="location.href='mai'+'lto:'+'ope'+'ni'+'g@c'+'om'+'pro'+'.n'+'et'; return false;">openi<span style="display: none;">.nosp@m.</span>g@co<span style="display: none;">.nosp@m.</span>mpro.<span style="display: none;">.nosp@m.</span>net</a> </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>(c)Compro Computer Services, Inc. </dd></dl>
<dl class="section date"><dt>Date</dt><dd>Sun Jan 11 2015 </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>Core-Base/<a class="el" href="_animation_8h_source.html">Animation.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed May 16 2018 15:41:11 for OpenIG by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
